#! $Revision: 28 $, $Date: 2010-01-27 15:49:30 +0000 (Wed, 27 Jan 2010) $
#! $URL: http://i3rc-monte-carlo-model.googlecode.com/svn/branches/broadcast-integrator/Code/Makefile $

include ../Makefile

all_obs = characterUtils.o ErrorMessages.o RandomNumbersForMC.o numericUtilities.o \
      scatteringPhaseFunctions.o inversePhaseFunctions.o monteCarloIllumination.o \
      surfaceProperties.o opticalProperties.o userInterface_Unix.o $(multipleProcCode)

all: $(all_obs) 

ErrorMessages.o: ErrorMessages.f95

characterUtils.o: characterUtils.f95

numericUtilities.o: numericUtilities.f95

RandomNumbersForMC.o: RandomNumbersForMC.f95

multipleProcesses_nompi.o: multipleProcesses_nompi.f95

multipleProcesses_mpi.o: multipleProcesses_mpi.f95

userInterface_Unix.o: userInterface_Unix.f95 ErrorMessages.o $(multipleProcCode)

kDistribution.o: kDistribution.f95 ErrorMessages.o 

monteCarloIllumination.o: monteCarloIllumination.f95 ErrorMessages.o RandomNumbersForMC.o

surfaceProperties.o: surfaceProperties.f95 ErrorMessages.o numericUtilities.o $(multipleProcCode)

scatteringPhaseFunctions.o: scatteringPhaseFunctions.f95 ErrorMessages.o numericUtilities.o characterUtils.o

opticalProperties.o: opticalProperties.f95 scatteringPhaseFunctions.o \
                     characterUtils.o ErrorMessages.o 
                     
inversePhaseFunctions.o: inversePhaseFunctions.f95 scatteringPhaseFunctions.o \
                         numericUtilities.o ErrorMessages.o

clean::
	-/bin/rm *.mod *.o

